package com.bdqn.entity;

public class Student {

	private int sid;
	private String sname;
	private String spwd;
	private String gender;
	private int gid;
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getSpwd() {
		return spwd;
	}
	public void setSpwd(String spwd) {
		this.spwd = spwd;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public Student(int sid, String sname, String spwd, String gender, int gid) {
		super();
		this.sid = sid;
		this.sname = sname;
		this.spwd = spwd;
		this.gender = gender;
		this.gid = gid;
	}
	public Student() {
		super();
	}
	@Override
	public String toString() {
		return "学生编号：" + sid + ", 学生姓名：" + sname + ",密码：" + spwd + ", 性别：" + gender + ", 年级编号：" + gid;
	}
	
	
	
	
	
	
	
}
